<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html manifest="manifest.appcache" xmlns="http://www.w3.org/1999/xhtml">
    <head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta content="design by Cuongit1981@gmail.com" ><meta name="description" content="Mua Bán & Kí Gửi Sản Phẩm"/>
		<meta name="keywords" content="Quần Áo , Mắt Kính , Điện Thoại , Đồng Hồ , Laptop , Tivi , Tủ Lạnh , Điều Hòa , Máy Giặt , Phụ Kiện , Mẹ & Bé"/>
		<meta content="Kênh Bán Lẻ Các Mặt Hàng Tiêu Dùng" name="description"/><meta content="Mua Bán , Rao Vặt , Cần Mua , Cần Bán" name="keywords"/>
		<meta content="Bán Hàng Trực Tuyến" property="og:title"/><meta content="website" property="og:type"/> 
		<meta content="http://www.shopping365.vn" property="og:url"/>
		<meta content="Shopping365.vn" property="og:site_name"/>
		<title> SHOPPING365.VN - THỜI TRANG </title>
		<link rel="shortcut icon" href="images/365-1.JPG" />
		<link rel="stylesheet" href="css/style.css" type="text/css" media="screen"/>
		<link rel="stylesheet" type="text/css" href="css/mainsub.css" />
		<script src="js/main.js" type="text/javascript"></script>
		<script src="js/jquery-1.11.0.js" type="text/javascript"></script>
		<script src="js/jquery-1.11.0.min.js" type="text/javascript"></script>
		
		<link rel="stylesheet" type="text/css" href="lib/slideshow1/css/demo.css" />
		<link rel="stylesheet" type="text/css" href="lib/slideshow1/css/style3.css" />
				<script type="text/javascript" src="lib/slideshow1/js/modernizr.custom.86080.js"></script>
		
		<link rel="stylesheet" type="text/css" href="lib/menu/menu1/css/normalize.css" />
		<link rel="stylesheet" type="text/css" href="lib/menu/menu1/css/demo.css" />
		<link rel="stylesheet" type="text/css" href="lib/menu/menu1/css/component2.css" />	
										<script src="lib/menu/menu1/js/modernizr-2.6.2.min.js"></script>
										<script src="lib/menu/menu1/js/polyfills.js"></script>
										<script src="lib/menu/menu1/js/demo2.js"></script>
		
		<link rel="stylesheet" type="text/css" href="tooltip/2/css/demo.css" />
        <link rel="stylesheet" type="text/css" href="tooltip/2/css/style.css" />
		
		<link rel="stylesheet" type="text/css" href="lib/Lateral/css/demo.css" />
        <link rel="stylesheet" type="text/css" href="lib/Lateral/css/style.css" />
        <link href='http://fonts.googleapis.com/css?family=Kelly+Slab' rel='stylesheet' type='text/css' />
		
		<!-- Banner -->
		<link href="lib/banner/themes/1/js-image-slider.css" rel="stylesheet" type="text/css" />
		<script src="lib/banner/themes/1/js-image-slider.js" type="text/javascript"></script>
		<link href="lib/banner/generic.css" rel="stylesheet" type="text/css" />
		<script>
			js = new controls();
			setInterval("js.clock()",1000);		
			var strquery = window.location.search.replace('?','');
			if(!sessionStorage.chuyenmuc || sessionStorage.chuyenmuc != strquery) {	
				js.show(strquery);
			}
		</script>
		<!-- Cấm chuột phải -->
		<script type="text/JavaScript">
		var message="NoRightClicking"; function defeatIE() {if (document.all) {(message);return false;}} function defeatNS(e) {if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {(message);return false;}}} if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=defeatNS;} else{document.onmouseup=defeatNS;document.oncontextmenu=defeatIE;} document.oncontextmenu=new Function("return false") 
		</script>
		<!-- showproducts -->
		<link href="lib/showproducts/themes/generic.css" rel="stylesheet" type="text/css" />
		<link href="lib/showproducts/themes/1/slider.css" rel="stylesheet" type="text/css" />
		<script src="lib/showproducts/themes/1/thumbnail-slider.js" type="text/javascript"></script>
    </head>
    <body>
	<div class="wrapper">
		<?php 
			@session_start() ; 
			include("model/main.php");
			os::gzip();
			$cm = $_REQUEST['cm'];
			$pl = $_REQUEST['pl'];
			$tenchuyenmuc = convertViText::getChuyenmucName($cm);
			$loaisanpham = convertViText::getNhomsp($cm);
		?>
			<a href="http://www.shopping365.vn" style="-webkit-animation: appear 0.8s ease-in-out 0.8s backwards;-moz-animation: appear 0.8s ease-in-out 0.8s backwards;font-size:80px;color:#b00;z-index:99900;position:fixed;bottom:55px;right:100px;text-shadow:-2px -1px 0 #000 !important">SHOPPING 365</a>						
			<div id="top-head">
				<center>
					<div id="bannershopping365-content">
						<span><a href=""><?php echo $tenchuyenmuc; ?></a></span>
						<span><b>
							<a>. <?php echo $loaisanpham; ?></a>			&nbsp;&nbsp;&nbsp;&nbsp;	&nbsp;&nbsp;&nbsp;&nbsp;						
							<a href="javascript:" onclick="js.area('toanquoc')">TOÀN QUỐC</a>			&nbsp;&nbsp;&nbsp;&nbsp;	&nbsp;&nbsp;&nbsp;&nbsp;	
							<a href="javascript:" onclick="js.area('hanoi')">HÀ NỘI</a>			&nbsp;&nbsp;&nbsp;&nbsp;	&nbsp;&nbsp;&nbsp;&nbsp;	
							<a href="javascript:" onclick="js.area('saigon')">SÀI GÒN</a>			&nbsp;&nbsp;&nbsp;&nbsp;	&nbsp;&nbsp;&nbsp;&nbsp;
							<a href="javascript:" onclick="js.area('tinhkhac')">CÁC TỈNH KHÁC</a>				&nbsp;&nbsp;&nbsp;&nbsp;	&nbsp;&nbsp;&nbsp;&nbsp;
						</b></span>
					</div>
				</center>
			</div>
			<div id="top-head2"></div>
			<center>
				<ul class="tt-wrapper-tooltips" style="z-index:9999999">
					<li><a class="tt-facebook" href="https://www.facebook.com" target="_blank"><span>Facebook</span></a></li>
				</ul>
			</center>
			<div id="bannershopping365" >
				<center>			
					<div class="banner">
						<!-- BANNER QUẢNG CÁO -->
							<?php
								$getbanner = query::bannerquangcao($cm);
								if($getbanner!=null){
							?>
									<div id="sliderFrame">				
										<div id="slider">
											<?php foreach($getbanner as $bn){ ?>
												<a href="<?php echo $bn[3] ; ?>" target="_blank">
													<img src="images/thoitrang/ao/<?php echo $bn[5] ; ?>" alt="<?php echo $bn[4] ; ?>" width="800" height="300px"/>
												</a>
											<?php } ?>
										</div>
									</div>
							<?php
								} else {
							?>
									<div id="sliderFrame">		
										<div id="slider">
											<a href="quangcao" target="_blank">
												<img src="images/thoitrang/1.jpg" alt="MỜI ĐẶT QUẢNG CÁO TẠI ĐÂY [ĐK 350 X 350 ] px . LIÊN HỆ : 0909.061181 ." width="800" height="300px"/>
											</a>
										</div>
									</div>

							<?php
								}
							?>
					</div>
					<div class="container-ct" >     	
						<div id="ss-container" class="ss-container">		
							<?php
								$shops  = null ;
								$shops = query::shops($cm."_".$pl);
								if($shops!=null){
									#SHOW ITERATOR SHOP
									foreach($shops as $x){
										$khuvuc = strtoupper(processing::nonVitext($x[8]));
										if($khuvuc=='HA NOI'){ ?>
											<div class="ss-row ss-medium hanoi"><?php include("control/showshops.php"); ?></div>
							<?php 		} else if($khuvuc=='SAI GON'){  ?>
											<div class="ss-row ss-medium saigon"><?php include("control/showshops.php"); ?></div>
							<?php		} else{ ?>		
											<div class="ss-row ss-medium tinhkhac"><?php include("control/showshops.php"); ?></div>
							<?php 		}
									}
								} else include ("view/notproduct.php");
							?>							
						</div>
					</div>
					<div class="empty-thoitrang"></div>
				</center>
			</div>	
			<?php 	
					$now = getdate(); 
					if($now["mday"]<10) $now["mday"] = '0'.$now["mday"];
					if($now["mon"]<10) $now["mon"] = '0'.$now["mon"];	
			?>
			<div id="bottom-head">
				<center>
					<div id="bottom-head-content">
						<a>	
							<b><?php echo $now["mday"]."/".$now["mon"]."/".$now["year"] ; ?>	</b>&nbsp;
							<b id="clock"></b>		&nbsp;
							<b>IP : <?php echo checks::checkIPClient(); ?> </b> &nbsp;
						<a/>	
					</div>
				</center>
			</div>
		<div class="wrapper">
			<center>
				<a class="bodythoitrang" id="slideshowthoitrang"  onclick="openpage();" >
					<div class="container" id="thoitrang">		
						 <ul class="cb-slideshow">
							<li><span></span><div><h3></h3></div></li>
							<li><span></span><div><h3></h3></div></li>
							<li><span></span><div><h3></h3></div></li>
							<li><span></span><div><h3></h3></div></li>
							<li><span></span><div><h3></h3></div></li>
							<li><span></span><div><h3></h3></div></li>
						</ul>	
						<div class="wrapper">	
							<center>
							<div class="container">
								<header>
									<nav class="codrops-demos"></nav>
								</header>
							</div>	
							</center>
						</div>							
					</div>
				</a>
			</center>
		</div>
	</div>
	<div class="wrapper">
			<span class="reference1">
			<center>
				<div style="width:1000px;text-align:left;margin:0;padding:0;">
					<a >BẢN QUYỀN SHOPPING365 2014</a>
					<a >ĐANG CHỜ CẤP PHÉP</a>
					<a >PHÁT TRIỂN BỞI CUONGIT1981@GMAIL.COM</a>			
				</div>
			</center>
			</span>
	</div>	
    </body>
</html>
